package com.sc.nft.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

@Data
public class BindPermissionsToTheProductMenuDTO {
    @ApiModelProperty(value = "产品id")
    @NotNull(message = "产品id不能为空")
    private Long merchantId;
    @ApiModelProperty(value = "菜单id")
    @Size(min = 1, message = "菜单id不能为空")
    private List<Long> menuId;
}
